package zero.tech.games.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;
import org.springframework.context.annotation.ComponentScan;

import zero.tech.games.gateway.config.CustomRibbonConfig;

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"zero.tech"})
@RibbonClients(defaultConfiguration = CustomRibbonConfig.class)
public class GatewayServer {
	public static void main(String[] args) {
		SpringApplication.run(GatewayServer.class, args);
	}
}
